how to split string into a list ignoring number of spaces c#
63
how to split string into a list ignoring number of spaces c# -
using System;
var text = "There is an old hawk in the sky";
var words = text.Split(' ', StringSplitOptions.RemoveEmptyEntries);
Array.ForEach(words, Console.WriteLine);